package com.BCM.dao;


import com.BCM.po.Grade;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author tanghao
 */
public interface GradeDao {
    //定义方法查询全部贷款信息
    public List<Grade> findAllGrade();

    public int deleteGrade(int gradesId);
    public Grade findGradeBygradesId(int gradesId);
    public int updateGrade(Grade grade);
    void save(Grade grade);
    public List<Grade>findGradeByusername(@Param("username") String username);
    public List<Grade>findGradeBystudentClass(@Param("studentClass") String studentClass);
}
